home *** CD-ROM | disk | FTP | other *** search
/ You're the Director / You're The Director.iso / pc / macf / mger.dir / 00064_Delete Clip G..ls < prev    next >
Encoding:
Text File  |  1995-10-10  |  670 b   |  32 lines

  1. on mouseUp
  2.   global prev, lastFrame
  3.   if count(movielist) > 0 then
  4.     set Chosen to 0
  5.     repeat with i = 1 to count(movielist)
  6.       if getAt(selected, i) = 1 then
  7.         set Chosen to 1
  8.       end if
  9.     end repeat
  10.     if Chosen = 1 then
  11.       set lastFrame to the frame
  12.       repeat with i = 13 to 18
  13.         puppetSprite(i, 1)
  14.         set the visible of sprite i to 1
  15.         puppetSprite(i, 0)
  16.       end repeat
  17.       delset()
  18.       updateStage()
  19.     else
  20.       repeat with x = 13 to 18
  21.         puppetSprite(x, 0)
  22.       end repeat
  23.       go("NoSel")
  24.     end if
  25.   else
  26.     repeat with x = 13 to 18
  27.       puppetSprite(x, 0)
  28.     end repeat
  29.     go("NoMov")
  30.   end if
  31. end
  32.